package com.senven.payorder.controller;


import com.senven.common.vo.CommonResult;
import com.senven.payorder.service.IPaymodelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zsy
 * @since 2022-09-06
 */
@RestController
@RequestMapping("/payorder/paymodel")
public class PaymodelController {

    @Autowired
    private IPaymodelService paymodelService;


    @GetMapping("/findAll")
    public CommonResult findAll(){
        return paymodelService.findAll();
    }

}
